High density high reliability memory module with power gating and a fault tolerant address and command bus

ABSTRACT

An enhanced four rank enabled buffer device that includes input ports for receiving input data that includes address and command data directed to one or more of up to four ranks of memory devices. The buffer device also includes one or more buffer circuits for driving one or more of the address and command data, a plurality of chip select input lines for selecting between the up to four ranks of memory devices, and a plurality of chip select output lines for accessing the up to four ranks of memory devices. The buffer device further includes a power savings means for causing one or more of the buffer circuits to be in an inactive mode when corresponding chip select input lines are not active. The buffer device is operable to access the up to four ranks of memory devices.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a divisional of U.S. patent application Ser. No. 11/551,866, filed Oct. 23, 2006, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

This invention relates generally to a high-density, high-reliability memory module with a fault tolerant address and command bus for use as a main memory that will achieve the degree of fault-tolerance and self-healing necessary for autonomic computing systems.

Memory modules are well known to the prior art and have been and are presently being used in practical applications such as in computers and other equipment using solid state memories.

Broadly speaking, currently available main memories offer bandwidths in the range of 1.6 to 2.6 GB/s, and although some memories provide for limited data path error correction most offer no means of any error correction targeting the interface between the memory controller and the memory subsystem. Furthermore, memory modules for server products and other higher-end computing systems usually include re-drive logic for address and command inputs, and clock re-synchronization and re-drive circuitry associated with the memory subsystems to permit these modules to contain higher memory device counts and to ensure accurate clock timings at each device on the memory assembly. Although these solutions provide systems with the ability to achieve the specified bandwidth objectives, the overall quantity and types of failures in the memory subsystem, outside the data path itself, has actually increased due to the added circuitry associated with each memory device. Simultaneously, as these computing systems are more widely utilized in business, many applications simply cannot accept periodic unplanned system outages caused by failed memory modules. Thus the emphasis and need for improved overall system reliability is increasing dramatically and requires a comprehensive system solution that includes both a high degree of fault tolerance and overall reliability. Further, a corresponding need for greater system memory density is also required to achieve the system performance and operation throughput required in modern business applications, as well as to maximize the return on investment by extending the utility of the system by offering memory density improvements.

The present invention provides such a comprehensive system solution that includes the capability of high memory density and a high degree of fault tolerance and the overall differentiated system reliability long desired in the server market.

Existing solutions have memory module density that is typically limited to 18 or 36 devices for each memory module—with this limit based on such elements as the memory device package size, the memory module physical dimensions, the re-drive capability of the buffer, re-drive or register device, the power dissipation of the completed memory subsystem and/or module, etc. Other possible fault-tolerant improvement methods such as memory mirroring, symbol slicing and extensive forms of fault rejection and redundancy, provide enhanced memory subsystem reliability, but, due to negative impacts such as increased cost, power, and reduced performance, have been considered only for niche applications where price is not of high importance as these subsystem quality enhancements are very expensive to implement. Therefore solutions suitable for the low or midrange server markets have not been available.

Consequently the industry has long sought a simple, relatively inexpensive and reliable solution that provides high memory density with differentiated product quality, that provides an adequate level of asset-protection that does not endanger the reliability of the system through the use of reduced-function memory assemblies and yet is cost competitive.

SUMMARY

The present invention is directed to a high density high reliability memory controller/interface module, provided with a high degree of compatibility with industry-standard solutions, capable of meeting the desired density, performance and reliability requirements and interfacing with the presently available memory modules, as well as with existing or enhanced support devices. The present invention accomplishes all these ends, resulting in a high density and enhanced reliability memory solution at low cost.

An object of the present invention is to provide an enhanced 28 bit 1:2 register (also referred to herein as a “buffer”) that supports 4 ranks of memory devices, intended for use with memory subsystems such as Dual Inline Memory Modules (DIMMs) having Dynamic Random Access Memory (DRAM) chips thereon. The register of the present invention has added thereto additional command inputs, error correction code (ECC) logic to identify and correct single bit errors on the command or address bus, and permit continuous memory operation independent of the existence of these errors.

Another object of the present invention is to include in such DIMMs error latches and an error reporting mode whereby the system may interrogate the device to determine the error condition thereby allowing accurate fault determination and preventive maintenance—thereby reducing unplanned system outages.

A further object of the present invention is to include redundant contacts on all connectors/DIMM interconnects that would otherwise be considered single points of failure whereby an intermittent or permanent contact failure would result in an unplanned system outage.

Still another object of the present invention is to provide the DIMM with key operational features such as chip select gating of key inputs and programmable delay for un-gated inputs, thereby reducing module power and offering increased operational flexibility.

A further object of the present invention is to provide a DIMM that can be readily utilized in presently available controllers in a manner most applicable to the market needs.

Another further object of the present invention is to have a DIMM that uses connectors similar to those presently in use so that prior art contacts, molds, handlers and related production tools can continue to be used such that the modules can be more cheaply produced with additional density while providing value-added reliability, and other value-add attributes, such as a higher memory packaging density with minimal additional production costs.

Another further object of the present invention is to have a buffer which is operable with up to 4 ranks of memory devices, that is also interchangeable with previously developed buffers limited to no more than 2 ranks of memory devices, and can be used as a direct replacement for said previously developed buffers on DIMMs that utilized said buffers—thereby eliminating the need to produce or procure two types of buffer devices or to re-design existing memory modules.

The DIMM of the present invention is comprised of a printed circuit board having a front side and a back side and a plurality of double data rate (DDR) DRAMs or synchronous dynamic random access memories (SDRAMs) affixed to both the front surface and the back surface. On a first edge of the front surface of said board there is provided one hundred and thirty eight (138) contacts for connecting circuitry, external to the card, to the SDRAMS and related devices on the DIMM and on the same first edge on the rear side of the card there is provided an additional one hundred and thirty eight (138) external circuitry connecting contacts so that the board has a total of two hundred and seventy six (276) external circuitry connecting contacts thereon. The contact means provided on the front and the back sides of the printed circuit card provide for electrically connecting the external circuitry to the SDRAMs in a direct or indirect manner.

Still another further object of the present invention is to provide a server memory structure having a dual inline memory module or DIMM provided with selective redundant contacts, a phase lock loop, 2 or 32K bit serial electronically erasable programmable read only memory (EE PROM) and a 28 bit, 1 to 2 register having error correction code (ECC), parity checking, a multi-byte fault reporting register, read via an independent bus, and real time error lines for both correctable errors and uncorrectable error conditions. More particularly the server of the present invention comprises a novel DIMM provided with a new and unique ECC/Parity Register that is operable with 1 to 4 memory ranks, coupled to a memory interface chip which is in turn coupled to a memory controller or processor such that the memory controller sends address and command information to the buffer (or register) via address/command lines together with check bits for error correction purposes to the ECC/Parity register.

Still another object of the invention is to provide for detecting if the module installed in the server can monitor the address and control bus integrity, correct errors on the address and control bus, report errors and log and counts errors.

Still another object of the invention is to provide for Parity error reporting in which the parity signal is delivered one cycle after the address and command to which it applies, and the error line be driven low two clocks after the address and command bits are driven to the DRAMs from the register on the DIMM. After holding the error line low for only 2 clock cycles, the driver can be disabled and the output permitted to return to an un-driven state (high impedance) thus allowing this line to be shared by multiple modules.

Still further the invention provides means for and a method for adjusting the propagation delay, for signals on the memory module that are not included in the ECC circuitry, such that the signals can be selectively re-driven by the buffer within one or two clock cycles.

Still further the present invention permits operation of the memory module in parity mode, such that unused ECC check bit inputs are held at a low level thus ensuring that these inputs are at a known and quiescent state.

Still further the present invention provides for reducing the probability of Single Point of Failures occurring by providing selected signals with redundant contacts directly on the opposite side of the DIMM from the original function contact thereby reducing the probability of a contact failure resulting in an unplanned system outage.

Still further the present invention provides for operating a module of the present invention consistent with conventional non-ECC protected modules, by removing the secondary registers (post-ECC) from the delay path by setting the /ECC Mode control pin to a high level.

These objects, features and advantages of the present invention will be become further apparent to those skilled in the art from the following detailed description taken in conjunction with the accompanying drawings wherein:

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 is a block diagram of a typical server memory arrangement;

FIG. 2 is a block diagram of the enhanced server memory arrangement of the present invention;

FIGS. 3A and 3B are plan views respectively of the front and back of the two hundred and seventy six (276) pin dual inline memory module (DIMM) of the present invention that utilizes up to 72 planar DRAMS; and FIGS. 3C and 3D are plan views respectively of the front and back of the 276 pin DIMM of the present invention that utilizes up to eighteen four high DRAM stacks;

FIGS. 4A and 4B are schematic views of the ECC/Parity register, shown in FIG. 3A;

FIG. 5 is a block diagram of the single error correction/double error detection error correction code (SEC/DED ECC) circuit of FIG. 4B;

FIG. 6 describes, in H-matrix form, the preferred ECC code selected for the module of FIG. 3;

FIGS. 7A, 7B and 7C show the designated contacts or pin connections for the DIMM of FIGS. 3A and 3B;

FIG. 8 shows the timing diagram used with the present invention;

FIG. 9 shows the buffer connections and total number of buffers used in a system when the buffer of the present invention is used on 1, 2 and 4 rank DIMMs;

FIG. 10 shows the CS wiring between the buffers and the memory devices on the right and left side of the card, for a 4 rank DIMM of the present invention; and

FIG. 11 shows the IIC addresses that are utilized to access the error registers on the one or two buffers of the present invention.

DETAILED DESCRIPTION

A full appreciation of the features and advantages of the present invention can best be gained by reference to the drawings and more particularly to the figures where: FIG. 1 is a block diagram of a typical server memory arrangement; FIG. 2 is a block diagram of the enhanced server memory arrangement of the present invention; FIGS. 3A and 3B are plan views respectively of the front and back of a 4 rank planar 276 contact dual inline memory module (DIMM) of the present invention; FIGS. 3C and 3D are plan views respectively of the front and back of a 4 rank four high stacked 276 contact DIMM of the present invention; FIGS. 4A and 4B are schematic views of the 4 rank-optimized buffer/register, parity and error correction circuits shown in FIGS. 3A and 3B (and FIGS. 3C and 3D); FIG. 5 is a block diagram of the single error correction/double error detection error correction code (SEC/DED ECC) circuit of FIG. 4B; FIG. 6 describes, in H-matrix, form the preferred ECC code selected for the module of FIGS. 3A and 3C; FIGS. 7A, 7B and 7C show the designated pin connections for the DIMM of FIGS. 3A and 3B (and FIGS. 3C and 3D). FIG. 8 shows the timing diagram used with the present invention. FIG. 9 shows the buffer connections and total number of buffers used in a system when the buffer of the present invention is used on 1, 2 and 4 rank DIMMs; FIG. 10 shows the CS wiring between the buffers and the memory devices on the right and left side of the card, for a 4 rank DIMM of the present invention and FIG. 11 is a table showing the IIC addresses that would be used to access the error registers on the one or two buffers of the present invention.

In FIG. 1 there is illustrated, in schematic form, a block diagram of a typical server memory arrangement as might be found in any currently available server which can employ a plurality of memory subsystems, shown here in the form of dual inline memory modules (DIMMs). It should be understood that many such DIMMs would be used in actual practice but for ease of illustration only one prior art DIMM 10 is shown in FIG. 1. DIMM 10 is a printed circuit card on which there is provided a plurality of either synchronous dynamic random access memories or dynamic random access memories circuits 11, herein after collectively referred to herein as memory devices, or as DRAM(s). Each DRAM 11 on the DIMM 10 has a plurality of input/output pins that are coupled, via the printed circuitry on the DIMM 10 to the contacts on the DIMM 10 and theses contacts are further coupled, via a data line 15, to a memory interface chip 18 and to a memory controller or processor 19. Each DRAM on the DIMM is further, coupled via such DIMM contacts, to a buffer/register 12 and to a phase locked loop circuit 14 on the DIMM. The phase locked loop 14 (PLL) is connected via clock line 17 to the memory interface chip 18. The register 12 is also coupled to the memory interface chip 18 via an address and command (CMD) bus 16. The memory interface chip 18 is coupled to the memory controller 19 via the data line 15, address and command line 16 and clock line 17. It should be understood that although only one such DIMM is shown in this figure that in actuality the server would contain many such DIMMs. Such other DIMMs would be coupled in a like manner to the memory interface chip 18 and memory controller 19 via data, address and command lines, and may be connected in a multi-drop, cascade interconnect or other connection method, depending on the system structure and buffer functionality. Since such servers and their operation are well known to those skilled in the art, further description of such servers and their operation is not deemed necessary.

Turning now to FIGS. 2, 3A, 3B, 3C, 3D, 4A, 4B, 5, 8, 9, 10 and 11 the enhanced server memory arrangement of the present invention will be described.

In FIG. 2 there is illustrated, in schematic form, a block diagram of a server memory arrangement employing the present invention. In this FIG. 2 the server comprises a novel DIMM 20 provided with a novel ECC/Parity Buffer chip 21 (also referred to as a “buffer device”) coupled to the memory interface chip 18 which is in turn coupled to the memory controller or processor 19. It should be understood that the chip 21 need not include both the ECC function and the parity function. For example, the chip 21 could have just the 4 rank addressability alone, the ECC function alone or just the parity function alone and still operate in accordance with the present invention. More specifically, as shown in this FIG. 2, the memory interface chip 18 sends and receives data from the DIMMs via the data line 15 and sends address and commands via line 16. The memory interface chip 18 then sends and receives data, via line 15, to the memory devices, or DRAMs 22 and sends address and command information to the register chip 21 via add/cmd line 16 and check bits for error correction purposes to the ECC/Parity register chip 21 via line 25. In this configuration, the check bits and/or parity bits associated with the ECC/Parity register chip 21 are developed in the memory interface chip 18, although in other embodiments these bits could be developed in the memory controller or processor 19, be communicated to the memory interface chip as a subset of the information on line 16 and the memory interface would then re-drive this information to the memory module on line 25.

FIGS. 3A and 3B show respectively the front and back views of the novel 4 rank DIMM 20 of the present invention. Generally speaking DIMMs are printed circuit cards designed to carry a plurality of DRAMs 22 thereon and the DRAM output pins (not shown) are connected via the printed circuit to selected connectors 23 along the edge of both the back and front sides of the card and are often provided with a single indexing key or notch 9 on the connector edge. The use and manufacture of such DIMMs is well known and need not be further described herein. The DIMM 20 of the present invention however is novel and is designed to address the need for very high memory module density, as well as several of the most significant contributors to unplanned and often catastrophic system outages encountered in the prior art DIMMs. The improvements in the DIMM 20 of the present invention are realized especially by enlarging the length of DIMM 20 to between 149 mm and 153 mm. Nominally the DIMM 20 is 151.35 mm (5.97 inches) long and its width is 54.6 mm (2.16 inches). The width of the DIMM 20 is sufficient in width to accommodate the four rows of DRAMs 22 installed thereon, in addition to the two buffers 21 (one buffer is mounted on each side in the exemplary embodiment, as shown in FIGS. 3A and 3B), the PLL 24 and passive devices (not shown) such as resistors and capacitors, but must also be no wider than permitted by the available system physical dimensions for the module(s). The length of the DIMM 20 however must be such that the DIMM 20 can accommodate additional signal contacts, up to 138, as well as up to thirty-six planar DRAMs 26 having a nominal body size of up to 11.5 mm wide by 11 mm tall and have a locating key or notch 9 a distance of between 82.675 mm from one end of the DIMM 20 and 68.675 mm from the other end of the DIMM as shown. Again it should be understood that these dimensions are nominal and may vary plus or minus 3 mm in various implementations. The DIMM 20 can also be provided with additional notches 9 a and 9 b on each side, i.e., the shorter edges of the DIMM 20. These dimensions permit the DIMM, of the invention, to accommodate placing up to thirty-six planar DRAMs 22 on the front surface and up to an additional thirty-six such DRAMs 22 on the rear surface. Further, as shown in FIG. 3A, on the front of each DIMM 20, in addition to the DRAMs, there is positioned a phase locked loop (PLL) chip 24 and the novel ECC/Parity Buffer chip 21 of the present invention. This novel ECC/Parity Buffer chip 21 will be further described below and in detail in conjunction with FIGS. 4A and 4B It should be understood that the PLL chip 24 can be eliminated if its circuitry is provided on the buffer chip 21 or within the same package as the buffer chip 21 (i.e. alongside the chip, above the chip, below the chip, etc). In exemplary embodiments, the DIMM 20 depicted in FIGS. 3A and 3B also includes an EPROM 302 which is used for the storage of memory module attribute information (commonly referred to as an SPD data, when associated with memory modules), with the EPROM's IIC interface also shared, in this module, with the novel ECC/Parity Buffer chip, enabling one means for accessing status registers on the buffer chip(s).

Alternate configurations of the 4 rank DIMM 20 may be implemented by exemplary embodiments. See, for examples FIGS. 3C and 3D which depict front and back plan views of a 4 rank four high stacked 276 contact DIMM 20 of the present invention. In the embodiment depicted in FIG. 3D, the DIMM 20 also includes an EPROM device 302 which has the same function as device 302 in FIG. 3A, which includes enabling one means for accessing status registers on the buffer chip(s). As will be evident to those skilled in the art, other configurations for providing up to 4 ranks of memory may also be implemented without departing from the scope of the invention. For example, a 4 rank two high, stacked 276 contact DIMM 20 may be implemented by exemplary embodiments.

This new, improved, larger sized DIMM 20, shown in these FIGS. 3A, 3B, 3C and 3D also achieves a further significant improvement in the interconnect failure rate for the larger size of the module permits the connector system to accommodate two hundred and seventy-six contacts or pins 23. These pins are numbered and coupled to respective inputs as shown in FIGS. 7 a, 7 b, and 7 c. Contact or pin number one (1) is identified and shown in FIG. 3A as contact 23A and is on the left hand side of the front side of the DIMM 20 and is positioned approximately 5.175 mm from the left edge of the DIMM 20 and 77.5 mm from the center of the notch 9. Contact or pin number one hundred and thirty-eight (138) is identified and shown in FIG. 3A as contact 23B and is on the right hand side of the front side of the DIMM 20 and is positioned approximately 5.175 mm from the right edge of the DIMM 20 and approximately 63.5 mm from the center of the notch 9. Contact or pin number one hundred and thirty-nine (139) is identified and shown in FIG. 3B as contact 23C and is directly opposite contact number one 23A and is also positioned approximately 5.175 mm from the right edge of the back of DIMM 20 and is also 77.5 mm from the center of the notch 9. Contact or pin number two hundred and seventy-six (276) is identified in shown in FIG. 3B as contact 23D and is directly opposite contact number one hundred and thirty-eight 23B and is also positioned approximately 5.175 mm from the left edge of the back of DIMM 20 and 63.5 mm from the center of the notch 9. The greater size of this DIMM 20 also accommodates the inclusion of a new and larger ECC/Parity buffer chip 21 required by the present invention. Because the two hundred and seventy-six contacts or pins 23 on this larger DIMM 20 are more than sufficient to meet the needs of all the circuitry on the DIMM 20 this means that the DIMM 20 provides extra or redundant contacts. These extra or redundant contacts or pins 23 can now be used to provide additional protection for certain selected signal or voltage lines, for which error correction is not possible. The present invention, by providing such redundant contacts, effectively eliminates concerns such as contact failures on clock inputs, CS, CKE, and ODT inputs, Vref inputs, and other signals not protected by ECC. Other benefits include the elimination or reduction of concerns regarding power supply noise and/or voltage drops due to scarcity of voltage (VDD) contacts in the data region as well providing additional ground pins in the address/control region on the DIMM 20. The larger contact count of the present invention also permits the DIMM 20 to be wired such that they are consistent with prior art DIMMs. The additional contacts 23 also permit the inclusion of ECC check bits, associated with address and command inputs, allowing for real-time system monitoring of faults associated with these inputs, as well as system interrogation of fault counts and attributes. These faults would result in catastrophic system outages in conventional prior art systems using the smaller prior art DIMMs.

It should be understood that although only one DIMM 10 and 20 is shown in the FIGS. 1 and 2 that, in actuality, the server would contain many such DIMMs. As noted above, the DIMM 20, of the present invention, is provided with a plurality of SDRAMs 22, a phase locked loop circuit 24 and the ECC/Parity buffer chips 21. The ECC/Parity buffer chips 21 on DIMM 20 include unique error correction code (ECC) circuitry that is coupled to the memory interface chip 18 via line 25 to provide even greater significant reliability enhancement to such servers. The inclusion of this new, improved error correction code (ECC) circuitry results in a significant reduction in interconnect failure. Memory interface chip 18 connects to both of the ECC/Parity buffer chips 21 through lines 25 and 16 and to PLL 24 through line (17). In exemplary embodiments, such as the one depicted in FIGS. 3A and 3B, one copy of the address and command outputs from buffer chip 21 located on the front of the DIMM 20 connect to the 20 (S)DRAMs to the left of the buffer chip 21 (10 DRAMs on the front and 10 DRAMs located behind said 10 DRAMs on the back of the DIMM), and the second copy connect to the 16 DRAMs to the right of the buffer (8 DRAMs on the front and 8 DRAMs located behind said 8 DRAMs on the back of the DIMM). The buffer chip 21 located on the back of the DIMM is wired in a similar manner, with one copy of the address and command outputs from the buffer connected to 20 DRAMs (10 on the front and 10 on the back) and a second copy connected to 16 DRAMs (8 on the front and 8 on the back). In exemplary embodiments, such as the one depicted in FIGS. 3C and 3D, one copy of the address and command outputs from buffer chip 21 located on the front of the DIMM 20 connect to the 20 DRAMs to the left of the buffer (2 DRAM stacks on the front and 3 DRAM stacks generally located behind said 2 DRAM stacks on the back of the DIMM), and the second copy connects to the 20 DRAMs to the right of the buffer (3 DRAM stacks on the front and to the right of the buffer and 2 DRAM stacks located generally behind said 3 DRAM stacks on the back of the DIMM). The buffer chip 21 located on the back of the DIMM is wired in a similar manner, with one copy of the address and command outputs from the buffer connected to 20 DRAMs (3 DRAM stacks on the front and 2 DRAM stacks on the back) and a second copy connected to 16 DRAMs (2 DRAM stacks on the front and 3 DRAM stacks on the back). PLL 24 connects to each of the SDRAMs 22.

In an exemplary embodiment, a first set of buffer chip outputs connect to the SDRAM devices placed directly to the right of a buffer chip 21 on the front side of the DIMM 20 and to the memory devices on the backside of the DIMM 20 and on the same end of the DIMM 20 as the aforementioned memory devices, and a second set of buffer outputs connect to the devices to the left of the buffer on the front side of the DIMM 20 and to the memory devices, or SDRAMS 22, on the backside of the DIMM 20 and on the same end of the DIMM 20 as these memory devices. Alternate exemplary wiring embodiments may be used, while achieving the benefits described herein. For example, in FIGS. 3A-3D, address and command outputs from buffer 21, located on the front of the DIMM, may wire only to (S)DRAMs located on the front of the DIMM, while address and command outputs from buffer 21, located on the back of the DIMM, may wire only to (S)DRAMs located on the back of the DIMM. Other wiring methods may be used for address and command, while achieving many of the objectives cited in the teachings.

FIGS. 4A and 4B together comprise a schematic view of the novel ECC/Parity buffer chip 21 on DIMM 20 where, for clarity in description, it is shown as comprised of two distinct sections 21 a and 21 b. FIG. 4A shows the input portion of the enhanced function 4 rank-enabled 28 bit 1:2 buffer/register segment 21 a of the present invention and FIG. 4B shows the output portion and error correction code circuit segment 21 b. As depicted in FIGS. 4A and 4B, the buffer chip (also referred to herein as the buffer device) includes a plurality of buffer circuits (e.g., receivers, multiplexers, latches, etc.) for driving the address and command data. The error correction code circuit ECC segment 21 b, shown in FIG. 4B, corrects for single bit errors and thus permits continuous memory operation independent of the existence of these errors. This ECC segment also includes a parity operating mode circuitry together and error reporting circuitry. The novel ECC/Parity buffer 21 on DIMM 20 thus provides leading-edge performance and reliability and key operational features different from and unavailable from the prior art while retaining timing requirements generally consistent with devices such as the JEDEC 14 bit 1:2 DDR II register.

More particularly, the register segment 21 a contains a plurality of so called differential bit receivers 40 a through 40 e, 41, 42 a through 42 n, 43 a, 43 b, 44 a, 44 b, 45 a, 45 b, 46 a and 46 b and a single amplifier 47. Each of these differential receivers 40 a through 40 e, 41, 42 a through 42 n, 43 a, 43 b, 44 a, 44 b, 45 a, 45 b, 46 a and 46 b has two inputs and a single output. One of the inputs of each differential receiver 40 a through, 40 e, 41, 42 a through 42 n, 43 a, 43 b, 44 a, 44 b, 45 a, 45 b, 46 a and 46 b is coupled to a reference voltage source 28. The second input of the each of the differential receivers 40 a through, 40 e, 41, 42 a through 42 n, 43 a, 43 b, 44 a, 44 b, 45 a, 45 b, 46 a and 46 b are coupled to respective inputs 30 a through, 30 e, 31, 32 a through 32 n, 33 a, 33 b, 33 c, 33 d, 34, 35 a, 35 b, 36 a and 36 b.

Receiver set 40 a through 40 e is comprised of five receivers of which only the first and the last receivers 40 a and 40 e are shown. Receivers 40 a through 40 e have their second inputs respectively coupled to respective check bit lines 30 a through 30 e and their outputs connected through respective primary multiplexers 60 a through 60 e to the inputs of respective primary latches 70 a through 70 e. Typically the check bit lines are contained in a bus that contains a set of five such check bit lines. However, for simplification of the drawing and ease of description only, FIG. 4A shows only the first and the last check bit lines 30 a and 30 e of the set and the first and last of the receivers 40 a through 40 e. It being understood that each receiver in the set 40 a through 40 e has one of its respective inputs coupled to a respective one of a set of check bit input lines 30 a through 30 e and its output to a respective one of a set of three input multiplexers and thence to a respective one of a set of three input primary latches.

The second input of the differential receiver 41 is coupled to a check bit 0/Parity_in signal line 31.

Receiver set 42 a through 42 n is comprised of twenty two receivers coupled to a data line bus typically containing twenty two data lines 32 a through 32 n. However, for simplification of the drawing and ease of description only, FIG. 4 a shows only the first and the last data lines 32 a and 32 n of the set and the first and last of the receivers 42 a through 42 n are shown in the drawing. The first receiver 42 a is shown as having its first input coupled to data bit line 32 a and its output coupled to the first input of multiplexer 62 a whose output is coupled to a first input of primary latch 72 a and the last receiver 42 n is shown as having its first input coupled to data bit line 32 n and its output coupled to the first input of multiplexer 62 n whose output is coupled to a first input of primary latch 72 n. Each respective receiver in set 42 a through 42 n has an input coupled to a respective one of data lines in set 32 a through 32 n and their outputs connected through respective primary multiplexers 42 a through 42 n to the inputs of respective primary latches 62 a through 62 n. All the primary multiplexers and latches in the set 42 a through 42 n are identical to those shown connected to receivers 42 a and 42 n. Thus each receiver in the set has one of its respective inputs coupled to a respective one of a set of data bit input lines and its output to a respective one of a set of two input multiplexers and thence to a respective one of a set of primary latches. These signals are inputted from the memory interface chip 18 in FIG. 2 and are re-driven only when one or more of the inputs 33 a, 33 b, or 34 are low.

As previously noted, the second input of the differential receiver 41 is coupled to a check bit 0/Parity_in signal line 31. The output of the differential receiver 41 is coupled to an input of multiplexer 61 whose output is coupled to a primary latch 71. The check bit 0/Parity_in signal is interpreted as an ECC check bit from the memory controller or as a parity bit depending on the setting of ECC mode input 136 (FIG. 4B) Clock inputs 131 are fed to all the primary latches 70 a through 70 e, 71, 72 a through 72 n, 73, 74, 75 a, 75 b, 76 a and 76 b. The Check bits 1-5 at inputs 30 a through 30 e are in a don't care state when the register is being operated in parity mode and will be held low. When these inputs are operated in parity mode, a parity in signal will be provided on the Check bit 0/Parity_in signal line 31 and maintain odd parity across the data inputs 32 a through 32 n, at the rising edge of the clock signal (CK) at input 131 that immediately follows the rising edge of clock 131 that occurred simultaneously with the associated data inputs 32 a through 32 n.

The second inputs of the differential receivers 43 a, 43 b, 44 a and 44 b are respectively coupled to chip select lines /CS0, /CS2, /CS1 and /CS3 and the outputs of the differential receivers 43 a and 44 a are coupled respectively to the first inputs of primary latches 73 and 74 as well as to the first and third inputs of a five input select NAND gate 63, while the outputs of the differential receivers 43 b and 44 b are coupled only to the second and fourth inputs of the five input select NAND gate 63. The output of NAND gate 63 is coupled to the selection input of the multiplexers 60 a through 60 e, 61 and 62 a through 62 n. These lines initiate DRAM address/command decodes and as such at least one will be low when a valid address/command signal is present and the register can be programmed to re-drive all the data inputs when at least one chip select input (/CS0, /CS1, /CS2, /CS3) 33 a, 33 b, 33 c, 33 d is low. The fifth input of this NAND gate 63 is coupled to CS gate enable circuit 34 which can be set low to cause multiplexers 60 a through 60 e to pass signals from receivers 32 a through 32 n independent of the levels on inputs 33 a, 33 b, 33 c and 33 d.

The output of differential receivers 43 a and 44 a are also respectively coupled through the lines 172 and 174 and the AND gate 175 (FIG. 4B) whose output is coupled to the error logic circuit 100 also shown in FIG. 4 b.

Receiver 45 a has an input coupled to the clock enable signal source 35 a (CKE0) and an output coupled to the primary latch 75 a.

Receiver 45 b has an input coupled to the clock enable signal sources 35 b (CKE1) and an output coupled to the primary latch 75 b.

Receiver 46 a has an input coupled to the on die termination line signal input line 36 a (ODT0) and an output coupled to the primary latch 76 a.

Receiver 46 b has an input coupled to the on die termination line signal line 36 b (ODT1) and an output coupled to the primary latch 76 b.

Receiver 47 has an input coupled to the reset (/RST) signal line 37. The inputs 35 a and 35 b (CKE0, CKE1) 36 a and 36 ba (ODT0, ODT1) are provided from the memory interface chip 18 and are not associated with the Chip Select (CS) inputs 33 a, 33 b, 33 c and 33 d, and the signal from source 37 (/RST) driving amplifier 47 is an asynchronous reset input and, when low, resets all the primary latches 70 a through 70 e, 71, 72 a through 72 n, 73, 74, 75 a, 75 b, 76 a, 76 b and all the secondary latches 92 a through 92 n, 93, 94, 95 a, 95 b, 96 a and 96 b thereby forcing the outputs low. This signal from source 37 (/RST) also resets the error bus registers and error lines from the error logic circuit 100.

Coupled to the above described register of FIG. 4A is the unique error correction code circuit arrangement of FIG. 4B.

In FIG. 4B, module location identification is provided to error logic circuit 100 which is more fully described in conjunction with FIG. 6 below. This module location identification is provided to error logic circuit 100 through receivers 79 a, 79 b, and 79 c whose inputs are coupled to DIMM address input range sources (SA0, SA1, SA2) 78 a, 78 b and 78 c and whose outputs are coupled to an error logic circuit 100. The signals from sources (SA0, SA1, SA2) 78 a, 78 b and 78 c define the DIMM address which is then reported on the error bus when requested by the system. This error logic circuit 100 is controlled by a signal from the NAND gate 175 when either of the DRAM chip select signal sources (/CS0) 33 a and (/CS1) 33 b are active. The error logic circuit 100 further has a reset signal source 180 coupled thereto.

Also included in the error correction code circuit of FIG. 4B is a SEC/DED ECC circuit 90 which is more fully described in conjunction with FIG. 5 below. Coupled to this SEC/DED ECC circuit are the outputs of primary latches 70 a through 70 e, 71 and 72 a through 72 n. This SEC/DED ECC circuit 90 provides three outputs 109, 110, and 111 to the error logic circuit 100. These outputs are: a correctable error (CE) line 109, an uncorrectable error (UE) line 110 and a parity error bit line 111 fed to the error logic circuit 100 which provides outputs regarding correctable and uncorrectable errors on output lines 120 and 121. When either error line (CE) 109 or uncorrectable error line (UE) 110 is low this indicates that an error was identified as being associated with the address and/or command inputs (either correctable or uncorrectable). The error lines 120,121 will be active, i.e., low, for two clock cycles simultaneous with the re-driven address/command data when operating in ECC mode or delayed by two clock cycles when operating in parity mode. The logic error circuit 100 also provides an Error Bus (Inter Integrated Circuit or IIC) 122 for external collection of error information such as error type, DIMM address, error count and status of the 28 input and internally generated syndrome bits at the time of the first fail. The information remains latched until a reset command is written to bus 122 or /RST input 37 is switched low. The selected IIC protocol allows unique byte addressing of the ten registers, consistent with the present industry standard protocol for serial program decode electronic erasable programmable read only memory (SPD EPROM) and is well known to the art.

This SEC/DED ECC circuit 90 also has data bit outputs coupled through secondary latches 92 a through 92 n to a first input of all the output or secondary multiplexers 102 a through 102 n. The output of register latches 72 a through 72 n labeled BYPASS are directly connected to the second input of the output or secondary multiplexers 102 a through 102 n thereby allowing the SEC/DED ECC circuit 90 to be bypassed depending on the ECC mode input 123.

The output of the primary or register latches 73, 74, 75 a, 75 b, 76 a and 76 b are all coupled to a first input of secondary or output latches 93, 94, 95 a, 95 b, 96 a and 96 b and through these secondary latches 93, 94, 95 a, 95 b, 96 a and 96 b to a first input of output or secondary multiplexers 103, 104, 105 a, 105 b, 106 a and 106 b. The outputs of primary latches 73, 74, 75 a, 75 b, 76 a and 76 b are connected directly to a second input of output or secondary multiplexers 103, 104, 105 a, 105 b, 106 a and 106 b thereby allowing secondary latches 93, 94, 95 a, 95 b, 96 a and 96 b to be bypassed based on the /Delay CKE input 124 and /ECC mode input 123.

A control circuit comprised of a differential register 130 that has a first input coupled to a CK signal input 131, a second input coupled to a /CK signal input 132 and its output coupled to a second input all the primary latches 70 a through 70 e, 71, 72 a through 72 n, 73, 74, 75 a, 75 b, 76 a and 76 b and to the second input of all the output or secondary latches 92 a through 92 n, 93, 94, 95 a, 95 b, 96 a and 96 b and to the error logic circuit 100 via line 88. The /ECC mode signal source 135 is coupled to a selection third input of secondary multiplexers 102 a through 102 n, 103 and 104 and to the error logic circuit 100. The output or secondary multiplexers 105 a, 105 b, 106 a and 106 b have their selection inputs coupled to a source 124 of /Delay, CK_ODT signals.

The ECC code selected for this module is a single error correction/double error detection (SEC/DED) code and is shown in the H-Matrix depicted in FIG. 6. The use of this SEC/DED code ensures that all single errors associated with the address and command bits are detected and corrected and that all double bit errors are detected. It should be noted that interconnect failures almost exclusively begin as single point fails, with other failures possibly occurring over time dependent or independent of the root cause of the initial fail.

In summary, the present invention describes a unique DIMM having an enhanced 4 rank-enabled 28 bit 1:2 register with added error correction code logic (ECC) incorporated therein for correcting single bit errors while permitting continuous memory operation independent of the existence of these errors. A parity operating mode is also provided, in conjunction with error reporting circuitry to permit the system to interrogate the device to determine the error condition.

The above described 28 bit 1:2 register of the present invention provides key operational features, which differ from existing register designs intended for memory module applications and includes: 4 rank operability, disabling of un-needed internal circuitry when the module is not selected, error detection and correction on key inputs; programmable delay for un-gated inputs; parity mode; reset circuitry; error reporting and identification and reporting of the DIMM address.

CS gating of key inputs, e.g., /CS0, /CS1, /CS2 and /CS3, is provided as a means of reducing device power for the internal latches which will only be updated and related internal circuitry utilized when one, two, three or all of the chip select CS) inputs are active low (and chip select gate enable tied high) at the rising edge of the system clock. The twenty-two chip select-gated signals associated with this function include addresses continuously re-driven at the rising edge of every clock depending on the state of chip select. However, the chip select gating function can be disabled by tying the chip select gate enable input low thereby enabling all internal latches to be updated on every rising edge of clock.

In exemplary embodiments, the 4 rank circuitry in the enhanced 4-rank enabled ECC/parity buffer chip 21 is designed such that the enhanced 4-rank buffer device/chip 21 can be utilized as a direct replacement for earlier 2-rank enabled buffers, on one and two rank DIMMs, with no changes to the wiring of the assembly originally designed to use the earlier device. The inputs to differential receivers 43 b and 44 b are designed to float to a high level when not connected to an input source, the register pins assigned to inputs /CS2 33 c and /CS3 33 d were previously assigned to redundant VDD pins, and novel wiring on the 4 rank memory module depicted in FIGS. 3A-3D permit two of these buffers to be used on the 4-rank memory modules as shown in subsequent figures.

Programmable delay for un-gated inputs (/Delay CKE-ODT) associated with CKE and ODT (DRAM signals), the inputs will be latched and re-driven on each rising edge of the clock signal (CLK,) independent of the state of the chip select (CS) signals. However, since some controllers may be designed with limited flexibility regarding latency for these signals vs. chip select (CS), address (Addr), row address strobe (RAS), column address strobe (CAS) and write enable (WE), a delay block can be selected to re-align the timing relationships which are offset by 1 clock when the error correction code circuitry (ECC) is enabled.

ECC Mode (/ECC Mode low): For all inputs gated by CS, on-chip SEC/DED ECC logic is enabled and the signal received on CHK0/Parity in is received as check bit 0 when /ECC Mode input is low. This ECC logic will operate across 28 inputs (22 'CS-gated inputs and the 6 check bits) and will correct all single bit errors and detect all double bit errors present on the twenty-two chip select gated data inputs. If a correctable error is detected, /Error (CE) will be driven low for two clocks and errors will be counted and latched in the error bus registers for the 28 inputs if this is the first error since a reset is issued. Any double bit error will also be detected (as well as many other errors that are not correctable), and will be reported on the /Error (UE) error line (driven low for two clocks) and in the error bus registers if this error is the first since a Reset is issued. Although /CS0, /CS1, /CS2 and /CS3 are not included in the ECC logic, the propagation delay of the CS output signals will track the signals included in the ECC logic (1 additional clock of latency).

In addition to the above ECC mode, the same twenty two chip select gated data signals can be operated in 'parity mode (/ECC Mode high), whereby the signal received on CHK0/Parity in line is received as parity to the register one clock pulse later than the chip select gated data inputs. The received parity bit is then compared to the parity calculated across these same inputs by the register parity logic to verify that the information has not been corrupted. The twenty two chip select gated data signals will be latched and re-driven on the first clock pulse and any error will be reported two clock pulses later via the Uncorrectable Error (UE) line (driven low for two clock pulses) and in the Error Bus Registers. No correction of errors will be completed in this mode. The convention of parity, in this application, is odd parity (odd numbers of 1s across data and parity inputs equals valid parity).

The /RST signal input is used to clear all internal latches (including the error registers), and all outputs will be driven low quickly except the error lines which will be driven high.

Error reporting circuitry is included to permit external monitoring of DIMM operation. Two open-drain outputs are available to permit multiple modules to share a common signal line for reporting an error that occurred during a valid command (/CS=low) cycle (consistent with the re-driven signals). These two outputs are driven low for two clocks to allow the memory controller time to sense the error. /Error (CE) indicates that a correctable error occurred and was corrected by the ECC logic, /Error (UE) indicates that an uncorrectable error occurred and depending on the mode selected is an uncorrectable ECC error or a parity error. Note that the timing of /Error (UE) is different in parity mode vs. ECC mode.

In addition, an error bus (enabling access to 10 registers that can be read and reset via an IIC bus) is available to permit the device to be interrogated for additional error information, such as the error type (correctable, uncorrectable or parity error), error count and the memory card location (via the SAO-2 address pins which are conventionally wired only to the separate serial program decode (SPD) electronic erasable programmable read only memory (EE PROM). Other information is also available for diagnostics such as the signals received by the register (address/command, control signals, check bits, parity bit) when a chip select (CS) is active low and the associated syndrome bits so that they can be decoded to determine which of the 28 input signals (22 'CS-gated plus 6 check bits) or internal ECC logic failed, as well as an indication of the buffer type (1 to 2 rank enabled buffer or 1 to 4 rank enabled buffer), the buffer die revision, an indication of the buffer vendor, the maximum buffer speed, the driver strength and whether ECC has been bypassed by the application or not. These registers will contain information about the first fail, and the error counter will continue to increment until it is reset or reaches the full count (64K). All registers can be reset by writing the reset error bus command on the IIC bus, or via the /RST pin.

In addition to the use of the ECC structure defined above (included in both the memory interface chip and the register on the DIMM), redundant contacts are included on the module pinout to effectively eliminate other possible SPOF (single-point-of-failure) contributors in the interconnect system. Contacts that cannot be protected by the ECC structure described above, for various reasons, include the following: voltage reference (Vref), Clocks, Chip Selects (CS), CKEs, ODTs, VSS/VDD contacts or pins, Error lines, data input on the IIC bus (SDA), data clock on the IIC bus (SCL) and related signals. In the present invention each of these contacts is provided with a first contact on a first side of the DIMM and a redundant contact directly opposite the first contact and/or offset by no more than two pins from the first contact on the opposite side of the DIMM. For example if the voltage reference source 28 is applied via contact or pin 1 on the front side of the DIMM it is also applied via contact or pin 139 on the back side of the DIMM with contact 1 being direct opposite contact 139. Similarly the SDA signal is applied via contact or pin 135 on the front side of the DIMM and also via the contact or pin 273 on the back side of the DIMM and the /CS3 signal is applied via contact or pin 89 on the front side of the DIMM and also via contact or pin 225 on the back side of the DIMM. A full description of the contact or pin assignment matrix for the present invention is shown in FIGS. 7A, 7B and 7C. The specific contact placement is selected to maximize fault tolerance. By providing such opposite redundant contacts, problems caused, for example, by a slight bowing of the DIMM will cause low contact pressure on a contact on one side of DIMM but high pressure on the opposing contact. In such cases good signal flow will always be assured when such redundant and opposing contacts, as discussed above, are used. These opposing and redundant contacts will also facilitate board wiring by minimizing wiring congestion for this solution also permits in-line wiring. The following chart is a listing of the DIMM locations of a few of these contacts.

Contact or Side of Nominal Distance Direction Signal PIN# DIMM from Key from Key CS0 86 FRONT 11.495 mm RIGHT CS0 224 BACK 11.495 mm LEFT CS1 91 FRONT 16.495 mm RIGHT CS1 229 BACK 16.495 mm LEFT CKE0 65 FRONT 13.505 MM LEFT CKE0 203 BACK 13.505 mm RIGHT CKE1 62 FRONT 16.505 mm LEFT CKE1 200 BACK 16.505 mm RIGHT RAS 222 BACK 9.495 mm LEFT CAS 87 FRONT 12.495 mm RIGHT WE 84 FRONT 9.495 mm RIGHT CK0 77 FRONT 2.495 mm RIGHT CK0 215 BACK 2.495 mm LEFT CK0B 78 FRONT 3.495 mm RIGHT CK0B 216 BACK 3.495 mm LEFT

The ECC function adds a single clock pulse delay (at planned operating frequencies) to the DIMM register performance, which may be of concern to some performance-optimized applications. As such, two additional modes are included on the module that permit the system user to tradeoff performance and reliability. In Parity Mode, the memory interface chip or controller would generate a single parity bit in conjunction with providing the full address and command field to the module. The module would re-drive the address and command bits, to the DRAMs, in the next cycle—rather than adding the additional cycle required in ECC mode. Any error on the address and command bus would be reported to the system at a later time, and the potential for recovery from the fail would be small hence this option is undesirable for many applications. The last mode would be to simply operate the memory in a mode with no parity bits and no ECC bits, with neither the added delay due to ECC nor any means to detect a fault on the address/command bus as per the prior art convention now used for these modules.

FIG. 5 is a block diagram of the SEC/DED ECC circuit of FIG. 4B. The twenty-two data inputs 32 a through 32 n via the twenty two latches 72 a through 72 n and lines 82 a through 82 n are fed both to a check bit generator circuit 230 and a first input of a parity generator/checker circuit 231. The parity generator/checker circuit 231 further has a second input coupled to the parity in signal source 31 via primary latch 71 and output line 81 and depending on the state of the parity input signal on input 31 sends a parity error signal (PERR) on output line 111 to the error logic circuit 100.

Meanwhile the check bit generator circuit 230 is transferring the twenty two inputted data signals to a first input of a syndrome bit generator 232 whose second input is coupled to the check bit inputs 30 a through 30 e through the lines 80 a through 80 e coming from the primary latches 70 a through 70 e.

The Syndrome bit generator 232 then transfers the twenty two data signals to a first input of a syndrome bit decoder and the six check bits to the error generator 235 which determines if there are either correctable or uncorrectable errors in the received data and provides the appropriate correctable error or uncorrectable error signal to the error logic circuit 100 via either line 109 or 110. The syndrome bit decoder now decodes the twenty-two data bits and transfers them to the data correction circuit 234. In the correction circuit the syndrome bits are selectively X ored with the data inputs consistent with the H-matrix, shown in FIG. 6, with any single bit errors in the data field inverted to correct the error.

The Error Logic block 100 consists of 3 major elements (not shown) which are an error counter, a status register block that contains a plurality of status registers, and an IIC logic block all of which are interconnected through common logic circuits. All of these blocks as well as the interconnecting logic circuits are common and readily available circuits known to those skilled in the art.

More specifically, the error counter is a 16-bit counter that increments as it receives errors inputs (CE, UE or Parity) from the SEC/DED ECC 90. This error counter continues to count errors (until it reaches its full count) even while the status registers are being read out on the IIC bus.

The status register block includes, in the present case, ten eight bit register sets (0-9) which contain information on the data input (DO-21) signals, the check bit signals (C0-5 and Parity In) signals received from the memory controller 19, as well as signals from the memory module 20 (FCC/Parity Mode, SAO-2), the error count, and the syndrome bits (S0-5) which are calculated by the SEC/DED ECC 90. In addition, the ten eight bit registers include an indication of the buffer type (1 to 2 rank enabled buffer or 1 to 4 rank enabled buffer), the buffer die revision, an indication of the buffer vendor, the maximum buffer speed, the driver strength and whether ECC has been bypassed by the application or not.

The IIC Logic block includes the necessary logic to support the “IIC Bus Specifications Version 2.1 Jan. 2000 Standard”. In this case the register is an IIC slave where the register is addressed by the DIMM address input range sources (SA0, SA1, SA2) 78 a, 78 b and 78 c and responds to several IIC bus commands—reset, read from the ten (10) Status Registers and the test mode.

The miscellaneous logic circuits interconnecting the above described error counter, status register block and IIC logic block include logic circuits designed to reset the error counters and the ten (10) status registers from either the external reset signal (/RST) source 37 or an internal power-on reset, to load the contents of the ten status registers and logic (including a set of shadow registers) that the IIC logic will send out onto the IIC bus when a IIC bus read occurs, along with some control logic to drive the correctable error (CE) and uncorrectable error (UE) lines out if such an error occurs.

The error bus that provides access to the ten (10) internal status registers (that can be read and reset via an IIC bus) permits the device to be interrogated for additional error information, such as the error type (correctable, uncorrectable or parity error), error count and the memory card location (via the SA0-2 address pins, also shared by the separate SPD EPROM). Other information is also available for diagnostics such as the signals received by the register (address/command, control signals, check bits, parity bit) associated with a CS is active low and the syndrome bits so that they can be decoded to determine, in the case of a failure, which of the 28 input signals (22 'CS-gated plus 6 check bits) failed. The ten eight bit registers further include an indication of the buffer type (1 to 2 rank enabled buffer or 1 to 4 rank enabled buffer), the buffer die revision, an indication of the buffer vendor, the maximum buffer speed, the driver strength and whether ECC has been bypassed by the application or not. These registers will contain information about the first fail, and the error counter will continue to increment until it is reset or reaches the full count (64K). All registers can be reset by writing the Reset Error Bus command on the IIC bus.

The Byte 0: Status Register is the general status bit register that can be read to determine the type of error, the mode and the address of the DIMM (same as the DIMM SPD address).

Byte 0: Status Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Extended DIMM DIMM DIMM Mode Parity ECC error ECCerror Status Address Address Address 1 = ECC Error 1 = UE 1 = CE Register SA2 SA1 SA0 0 = Pty 1 = PERR (If 1, seeByte 9)

Bytes 1 and 2: Error Counter. The 16 bit error counter will count up to 64K errors (FFFF hex) based on any error (CE, UE or Parity Error). Byte 1 is the LSB and byte 2 is the MSB of the error counter. Once the 16-bit counter has counted up to all ones, it will stay all 1s until the error bus is reset. The error counter register will not increment during a IIC read operation but will continue to count errors if they occur.

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte 1 (LSB) E7 E6 E5 E4 E3 E2 E1 E0 Byte 2 (MSB) E15 E14 E13 E12 E11 E1O E9 E8

Bytes 3-7 show the polarity of all 28 signals of the addresses and commands plus the check bits and parity bit that were received at the time of the first fail.

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte 3: Data Register A (DO-7) D7 D6 D5 D4 D3 D2 D1 D0 Byte 4: Data Register B (D8-15) D15 D14 D13 D12 D11 D10 D9 D8 Byte 5: Data Register C (D16-21, CSO-1) CS1 CS0 D21 D20 D19 D18 D17 D16 Byte 6: Data Register D (CKE0-1, ODT0-1, CS2-3) RFU RFU CS3 CS2 ODT1 ODT0 CKE1 CKE0 0 0 0 0 Byte 7: Check Bit (CO-5) and Parity Register RFU RFU Check Check Check Check Check Check 0 0 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0/ Pty In

Byte 8: Syndrome Register. Byte 8 shows the syndrome bits associated with the first error. These can be decoded to determine which of the 22 'CS-gated signals or 6 Check Bits caused the fail. Bytes 3-7 show the polarity of all input signals at the time of the fail. FIG. 8 shows the timing diagram used with the present invention.

Byte 8: Syndrome Bit (0-5) Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RFU RFU Syn- Syn- Syn- Syn- Syn- Syn- 0 0 drome drome drome drome drome drome Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 9 provides operational information such as bit 7, which indicates whether ECC checking is active and bit 6, which indicates the drive strength setting for the drivers, at the time the register contents are interrogated. In addition byte 9 provides useful information regarding the buffer device such as bit 5 (the maximum clock speed that the buffer is intended to operate at), the supplier (the exemplary embodiment allows two suppliers to be uniquely identified via a pre-defined bit assignment), although the use of bit 4 or an additional byte (i.e. byte 10) would permit the unique identification of 4 or more suppliers), and the supplier's die revision (the exemplary embodiment permits unique identification of up to 8 die revisions). Through the use of the contents of byte 9, further information can be obtained regarding the buffer settings at the time of failure, after power-up or at any other time during operation. In addition, systems using the enhanced 4-rank buffer device will be able to electronically detect the supplier code, die revision and speed sort of the buffer devices in the system, without the need to physically inspect the devices, by interrogating the installed memory subsystems containing the subject buffer devices. This offers a significant advantage should it be necessary to identify installed buffers if issues arise regarding the viability of the devices in stalled in a system in regard to manufacturing, reliability or related concerns subsequent to the assembly of the memory subsystems.

Byte 9: Extended Status Register Description Bit (0-6) Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ECC DS Speed RFU Supplier Die Die Die Bypass 1 = Lo Drv 1 = 800 1 = Sup- Rev Rev Rev plier A 1 = Yes 0 = Hi Drv 0 = 667 0-Sup- 0 = No plier B

All the information necessary for one skilled in the art to design this error logic block 100 is included in the H-Matrix shown in FIG. 6 where D0 through D21 refer to the data bits, C0 through C5 refer to the check bits and S0 through S5 refer to the syndrome bits.

FIG. 9 depicts a variety of configurations that may be implemented using the enhanced 4-rank enabled buffer chip 21 described herein. As shown in FIG. 9, the buffer chip 21 may be utilized on existing memory modules that support one or two ranks of memory devices, thereby eliminating the need to upgrade to new memory modules to utilize the enhanced 4-rank enabled buffer chip 21. In addition, FIG. 9 depicts two of the enhanced 4-rank enabled buffer chips 21 being utilized on a high density 4 rank memory module to access the 4 ranks of memory devices.

A one buffer chip configuration 902 is depicted in FIG. 9 as an interconnect drawing showing the interconnections between the enhanced 4-rank enabled buffer chip 21 and the EPROM 302 (shown as VPD (Vital Product Data) but could also be used to contain SPD, or Serial Presence Detect information) on an exemplary memory module having 9 eight bit wide or 18 four or eight bit wide memory devices and a single 4-rank enabled buffer chip 21. As shown in configuration 902, outputs from the buffer chip 21 include an indication of whether the error is a correctable error (CE) or an uncorrectable error (UE) as well as the corrected (if error is correctable) command and address information, which connect to memory devices 22. The internal status registers (bytes 0 through 9) of the buffer chip 21 can be accessed via an IIC bus by operating the SCL and SDA pins that connect to the buffer (2, 140 and 2, 141 respectively) consistent with the IIC Bus Specification. At the SA0-2 input pins a memory card location is specified. The IIC data clock (SCL) and IIC data input (SDA) query the status registers on the buffer chip 21. As depicted in configuration 902, the CS2 and CS3 inputs are disconnected and thus, the enhanced 4-rank enabled buffer chip 21 can operate on a standard, prior art, one or two rank memory module without requiring a system upgrade.

A two buffer chip configuration 904 is depicted in FIG. 9 as an interconnect drawing showing the interconnections between the enhanced 4-rank enabled buffer chips 21 and the EPROM 302 on an exemplary memory module having 36 four bit wide memory devices and two 4-rank enabled buffer chips 21. The CS2 and CS3 inputs are disconnected, and thus, the enhanced 4-rank enabled buffer chip 21 can operate on a standard, prior art, one or two rank memory module without requiring a system upgrade. The status registers in buffer 1 can be separately accessed from the status registers in buffer 2 due to the fact that the SA2 pin on buffer 1 is tied to ground, whereas the SA2 pin on buffer 2 is tied to Vdd. The SA0 and SA1 inputs for both buffers are connected to the SA0 and SA1 pins on the module, resulting in the two buffers having unique addresses. Using this method, up to 4 modules, each with 2 buffers, can be installed in a system that permits independent addressing of the status registers in the 8 total buffer devices (using a unique SA0 and SA1 input combination for each of the four module positions in conjunction with the SA2 wiring shown).

A two buffer chip configuration 906 is depicted in FIG. 9 as an interconnect drawing showing the interconnections between the enhanced 4-rank enabled buffer chips 21 and the EPROM 302 on an exemplary memory module having 72 four bit wide memory devices and two 4-rank enabled buffer chips 21. As depicted in configuration 906, the buffer one has a CS0 signal connected to the CS0 pin and a CS1 signal connected to the CS1 pin, and register two has a CS2 signal connected to the CS0 pin and a CS3 signal connected to the CS1 pin.

As depicted in FIG. 9, the enhanced buffer chips 21 described herein may be utilized in a first mode with existing memory modules that support one or two ranks of memory devices and in a second mode with high density memory modules that support four ranks of memory devices with up to 72 memory devices. The second mode is executed when two buffer chips 21 are coupled together on a memory module with all four of the chip selects (CS0, CS1, CS2 and CS3) being utilized to access different ranks of memory devices. The enhanced buffer chips 21 include 2 additional chip select input lines, but continue to perform the same functions, have the same pin counts, and have the same outputs as prior art buffer devices, therefore, the enhanced buffer chips 21 can be interchanged with prior art buffer devices by disconnecting the 2 additional chip select input lines.

FIG. 10 is an interconnect drawing showing an exemplary embodiment of the chip select wiring at the inputs and outputs of the enhanced 4-rank buffer chip 21 when used on a memory module that supports up to four ranks of memory devices. Two buffer chips 21 are required in this exemplary embodiment to drive all of the DRAM devices at the intended operating frequencies. As depicted in FIG. 10, buffer chip 21 a accesses the first and second rank (CS0 and CS1) of memory devices located on the left and right sides of the memory module and buffer chip 21 b accesses the third and fourth rank (CS2 and CS3) of memory devices located on the left and right sides of the memory module Although not shown in this figure, the exemplary buffer includes two copies of each chip select output, with one copy (e.g. CS0A) wiring to the first rank of DRAMs 1002 on the right side of the DIMM and the second copy (e.g. CS0B) wiring to the first rank of DRAMs 1002 on the left side of the DIMM. In the exemplary embodiment for the module shown in FIGS. 3A and 3B, the DRAMs 1002 are wired such that each of the two buffers drive one copy of each chip select (e.g. “/CSx”) output to 10 DRAMs located to one side of the buffer and 8 DRAMs located to the other side of the buffer and on the same side of the buffer as the first DRAMs (18 DRAMs in total). In the exemplary embodiment for the module of FIGS. 3A and 3B, the buffer driving /CS2 and /CS3 is located on the front of the DIMM, and the buffer driving /CS0 and /CS1 is located on the back of the DIMM. Alternate exemplary embodiments may swap the location of the buffers, or may re-drive/CS0 and /CS2 in one buffer device and /CS1 and CS3 in a second buffer device, while not straying from the teachings described herein. Address and command wiring is fully described in the text associated with FIGS. 3A-3D. Note that in this exemplary embodiment, the wiring to the chip select inputs of buffer chip 21 b is swapped between CS0/1 and CS2/3. As depicted in FIG. 10, the buffer chip 21 is operable with as few as one rank of memory devices (e.g., with only one chip select input line being selectable) and as many as four ranks of memory devices (e.g., with all four chip select input lines being selectable).

FIG. 11 is a table describing the IIC addressing associated with the one or more buffer chips 21 utilized in memory modules implementing exemplary embodiments, when either one or two registers, or buffer chips 21, are installed on a given memory module. In exemplary embodiments, the SA2 is hard-wired on two and four rank memory modules so that the internal status registers can be read from each buffer chip 21, as previously described. Referring to FIG. 11, column 1102 is the slot in the memory system being occupied by the memory module and column 1104 is the binary IIC address associated with the memory module slot in column 1102. For memory modules having one buffer chip 21, the IIC address correlates to the slot being occupied by the memory module as shown in column 1106. For memory modules having two buffer chips and up to four ranks of memory devices, the IIC address is doubled up as shown in column 1108. The table in FIG. 11 shows the IIC addresses for four rank memory modules with two buffer chips 21. For a four rank memory module located in slot 1 of the memory system, IIC addresses 0 and 4 are utilized to uniquely access the two buffer chips 21, whereas IIC addresses 1 and 5 are utilized to uniquely access the two buffer chips 21 located on a memory module in slot 2 of the memory system, and so on. Therefore, only four DIMM slots can be utilized with 4 rank memory modules containing 2 buffer devices. However, twice the memory density (up to 72 memory devices per memory module) is being supported in the same four slots (before limit was up to 36 memory devices on each memory module). FIG. 11 shows that in exemplary embodiments, memory modules having one or two ranks of memory and a single buffer chip 21 can be installed in up to eight system module slots, whereas memory modules having up to four ranks of memory devices are limited to up to four memory system module slots, due to such factors as the bus loading on the data bus, overall system power, unique addressability of the internal registers of the buffer devices, etc. This limitation may not hold true in all applications, but is applicable in the exemplary embodiment described herein.

In order to detect if the module(s) installed in the server can properly function in the intended application, monitor the address and control bus integrity, correct errors on the address and control bus, report errors and log and counts errors it is necessary that the DIMM error bus be functional and correctly accessed using the industry IIC protocol and the SA 0-2 bits such that the DIMM can provide a byte of data which includes Byte 0 discussed above. This is achieved by reading the SA 0-2 bits on bits 4, 5, and 6 of the Byte 0 to verify that they match the address of the memory module being interrogated, verifying that bit 3 (the ECC flag bit) is a “1” or high level and verifying that bit 7 of Byte 9 is set to a “1” or high level while the module is programmed to operate with ECC enabled. This proves a unique signature that indicates that the buffer/module combination is intended for use with error checking and correction on the address and control bus. If the correct register values are not obtained, the module is incapable one or more of monitoring the address and control bus integrity, correcting errors on the address and control bus, reporting errors or logging and counting detected errors.

Parity error reporting in the present invention is realized by delivering the parity signal one cycle after the address and command to which it applies, and driving the error line low, i.e., “0” two clock cycles after the address and command bits are driven to the DRAMs from the memory interface chip if an error is detected. After holding the error line low for only 2 clock cycles, the driver will be disabled and the output permitted to return to an un-driven state (high impedance) allowing this line to be shared by multiple modules.

The invention also provides a means for and a method for adjusting the propagation delay for signals on the memory module that are not included in the ECC circuitry such that the signals can be selectively re-driven within one or two clock cycles. This results in a significant increase in module operating speed.

Moreover by operating the memory module in parity mode, unused ECC check bit inputs can be held at a low level, i.e., “0” thus ensuring that these inputs are at a known and quiescent state.

Finally the module of the invention may be operated as if it were a conventional non-ECC protected module, by effective removing the secondary registers (post-ECC) from the delay path by setting the /ECC Mode control pin to a high level, i.e. “1”.

In summary, the present invention is an enhanced function 4 rank-enabled 28 bit 1:2 buffer/register, intended for use on main memory modules having one to four ranks of memory devices. The buffer, of the present invention, includes addressability for up to 4 ranks of memory devices and includes ECC logic to correct single bit errors and permit continuous memory operation independent of the existence of these errors. A parity operating mode is also provided, in conjunction with error reporting circuitry to permit the system to interrogate the device to determine the error condition.

The present invention also provides CS gating of key inputs through the use of CS0, CS1, CS2, CS3 and CS Gate Enable. As a means to reduce device power, the buffer's internal latches will only be updated when one or more of the CS inputs are active low (and CS Gate Enable at a high level) at the rising edge of clock. The 22 'CS-gated signals associated with this function include addresses (addr 0:15, BA 0:2). RAS, CAS, WE—with the remaining signals (CS, CKE, ODT) continuously re-driven at the rising edge of every clock as the re-drive of these inputs by the buffer does not require that one or more of the CS inputs to be at a low level. The CS gating function can be disabled by tying CS Gate Enable low enabling all internal latches to be updated on every rising edge of clock. This novel use of CS gating reduces the power dissipation of the buffer device and attached memory devices when any of the gated inputs (addr 0:15, BA 0:2) transition, as the transitions will not propagate through the buffer(s) to the memory device(s), thereby causing circuitry within the buffer and memory devices to switch, unless one or more of the CS inputs to the buffer(s) are at a low level (selecting the buffer and associated memory device(s). As is well known in the art, overall power dissipation can be minimized by eliminating unnecessary transitions of circuitry that is not associated with an intended operation.

Programmable delay for un-gated inputs (/Delay CKE-ODT) is also provided. For the pins associated with CKE and ODT (DRAM signals), the inputs will be latched and re-driven on each rising edge of CLK, independent of the state of the chip select (CS). However, since some controllers may be designed with limited flexibility regarding latency for these signals vs CS, Addr, RAS, CAS and WE. a delay block can be selected to re-align the timing relationships which are offset by one clock cycle when the error correction code is enabled.

Also for all inputs gated by CS, the on-chip SEC/DED ECC logic is enabled and the signal received on CHK0/Parity In is received as check bit 0 via a programming pin (/ECC Mode low). This ECC logic will operate across 28 inputs (22 CS-gated inputs and the 6 check bits), and will correct all single bit errors present on the 22 CS-gated inputs. /Error (CE) will be driven low for two clocks and errors will be counted and latched in the Error Bus Registers for the 28 inputs. Any double bit error will also be detected (as well as any error that is not correctable), and will be reported on the /Error (UE) error line (driven low for two clocks) and in the Error Bus Registers. Although CS0-3 are not included in the ECC logic, the propagation delay of the CS output signals will track the signals included in the ECC logic (1 additional clock of latency).

In addition to the above ECC mode, the same 22 CS-gated signals can be operated in 'parity mode (/ECC Mode high), whereby the signal received on CHK0/Parity In is received as parity to the register 1 clock later than the 'CS-gated inputs. The received parity bit is then compared to the parity calculated across these same inputs by the register parity logic to verify that the information has not been corrupted. The 22 VS-gated signals will be latched and re-driven on the first clock and any error will be reported two clocks later via the /Error (UE) line (driven low for two clocks) and in the Error Bus Registers. No correction of errors will be completed in this mode. The convention of parity is odd parity (odd numbers of 1 's across data and parity inputs equals valid parity).

The /RST pin is used to clear all internal latches (including the error registers), and all outputs will be driven low quickly except the error lines which will be driven high.

The error reporting circuitry, of the present invention is included to permit external monitoring of device operation. Two open-drain outputs are available to permit multiple modules to share a common signal pin for reporting an error that occurred during a valid command (any /CS=low) cycle (consistent with the re-driven signals). These two outputs are driven low for two clocks to allow the memory controller time to sense the error. /Error (CE) indicates that a correctable error occurred and was corrected by the ECC logic. /Error (UE) indicates that an uncorrectable error occurred and depending on the mode selected is an uncorrectable ECC error or a parity error. Note that the timing of UE is different in parity mode vs ECC mode.

In addition, the error bus, (the ten registers discussed above that can be read and reset via an IIC bus) is available to permit the device to be interrogated for additional error information, such as the error type (correctable, uncorrectable or parity error), error count and the memory card location (via the SA0-2 address pins, also shared by the separate SPD EPROM). Other information is also available for diagnostics such as the signals received by the register (address/command, control signals, check bits, parity bit) when a CS is active low and the syndrome bits so that they can be decoded to determine which of the 28 input signals (22 CS-gated plus 6 check bits) failed. These registers will contain information about the first fail, and the error counter will continue to increment until it is reset or reaches the full count (64K). All registers can be reset by writing the Reset Error Bus command on the IIC bus.

In alternate exemplary embodiments, the memory controller(s) may be integrated together with one or more processor chips and supporting logic, packaged in a discrete chip (commonly called a “northbridge” chip), included in a multi-chip carrier with the one or more processors and/or supporting logic, or packaged in various alternative forms that best match the application/environment. Any of these solutions may or may not employ one or more narrow/high speed links to connect to one or more hub chips and/or memory devices.

The memory modules may be implemented by a variety of technology including a DIMM, a single in-line memory module (SIMM) and/or other memory module or card structures. In general, a DIMM refers to a small circuit board which is comprised primarily of random access memory (RAM) integrated circuits or die on one or both sides with signal and/or power pins on both sides of the board. This can be contrasted to a SIMM which is a small circuit board or substrate composed primarily of RAM integrated circuits or die on one or both sides and single row of pins along one long edge. The DIMM depicted in FIG. 1 includes 276 pins in the exemplary embodiment, whereas DIMMs can be constructed with other pincounts while still retaining the same functionality as that described herein.

Memory devices are generally defined as integrated circuits that are composed primarily of memory (storage) cells, such as DRAMs (Dynamic Random Access Memories), SRAMs (Static Random Access Memories), FeRAMs (Ferro-Electric RAMs), MRAMs (Magnetic Random Access Memories), Flash Memory and other forms of random access and related memories that store information in the form of electrical, optical, magnetic, biological or other means. Dynamic memory device types may include asynchronous memory devices such as FPM DRAMs (Fast Page Mode Dynamic Random Access Memories), EDO (Extended Data Out) DRAMs, BEDO (Burst EDO) DRAMs, SDR (Single Data Rate) Synchronous DRAMs, DDR (Double Data Rate) Synchronous DRAMs or any of the expected follow-on devices such as DDR2, DDR3, DDR4 and related technologies such as Graphics RAMs, Video RAMs, LP RAM (Low Power DRAMs) which are often based on the fundamental functions, features and/or interfaces found on related DRAMs.

Memory devices may be utilized in the form of chips (die) and/or single or multi-chip packages of various types and configurations. In multi-chip packages, the memory devices may be packaged with other device types such as other memory devices, logic chips, analog devices and programmable devices, and may also include passive devices such as resistors, capacitors and inductors. These packages may include an integrated heat sink or other cooling enhancements, which may be further attached to the immediate carrier or another nearby carrier or heat removal system.

Module support devices (such as buffers, registers, PLL's, DLL's, non-volatile memory, etc) may be comprised of multiple separate chips and/or components, may be combined as multiple separate chips onto one or more substrates, may be combined onto a single package or even integrated onto a single device-based on technology, power, space, cost and other tradeoffs. In addition, one or more of the various passive devices such as resistors, capacitors may be integrated into the support chip packages, or into the substrate, board or raw card itself, based on technology, power, space, cost and other tradeoffs. These packages may include an integrated heat sink or other cooling enhancements, which may be further attached to the immediate carrier or another nearby carrier or heat removal system.

Memory devices, buffers, registers, clock devices, passives and other memory support devices and/or components may be attached to the memory subsystem via various methods including solder interconnects, conductive adhesives, socket structures, pressure contacts and other methods which enable communication between the two or more devices via electrical, optical or alternate means.

The one or more memory modules (or memory subsystems) may be connected to the memory system, processor complex, computer system or other system environment via one or more methods such as soldered interconnects, connectors, pressure contacts, conductive adhesives, optical interconnects and other communication and power delivery methods. Connector systems may include mating connectors (male/female), conductive contacts and/or pins on one carrier mating with a male or female connector, optical connections, pressure contacts (often in conjunction with a retaining mechanism) and/or one or more of various other communication and power delivery methods. The interconnection(s) may be disposed along one or more edges of the memory assembly and/or placed a distance from an edge of the memory subsystem depending on such application requirements as ease-of-upgrade/repair, available space/volume, heat transfer, component size and shape and other related physical, electrical, optical, visual/physical access, etc.

As used herein, the term memory subsystem refers to, but is not limited to: one or more memory devices; one or more memory devices and associated interface and/or timing/control circuitry; and/or one or more memory devices in conjunction with a memory buffer, and/or switch. The term memory subsystem may also refer to one or more memory devices, in addition to any associated interface and/or timing/control circuitry and/or a memory buffer assembled into a substrate, a card, a module or related assembly, which may also include a connector or similar means of electrically attaching the memory subsystem with other circuitry. The memory modules described herein may also be referred to as memory subsystems because they include one or more memory devices and buffers.

Memory subsystem support device(s) may be directly attached to the same substrate or assembly onto which the memory device(s) are attached, or may be mounted to a separate interposer or substrate also produced using one or more of various plastic, silicon, ceramic or other materials which include electrical, optical or other communication paths to functionally interconnect the support device(s) to the memory device(s) and/or to other elements of the memory or computer system.

Information transfers along a bus, channel, link or other naming convention applied to an interconnection method may be completed using one or more of many signaling options. These signaling options may include such methods as single-ended, differential, optical or other approaches, with electrical signaling further including such methods as voltage or current signaling using either single or multi-level approaches. Signals may also be modulated using such methods as time or frequency, non-return to zero, phase shift keying, amplitude modulation and others. Voltage levels are expected to continue to decrease, with 1.5V, 1.2V, 1V and lower signal voltages expected consistent with (but often independent of) the reduced power supply voltages required for the operation of the associated integrated circuits themselves.

One or more clocking methods may be utilized within the memory subsystem and the memory system itself, including global clocking, source-synchronous clocking, encoded clocking or combinations of these and other methods. The clock signaling may be identical to that of the signal lines themselves, or may utilize one of the listed or alternate methods that is more conducive to the planned clock frequency(ies), and the number of clocks planned within the various subsystems. A single clock may be associated with all communication to and from the memory, as well as all clocked functions within the memory subsystem, or multiple clocks may be sourced using one or more methods such as those described earlier. When multiple clocks are used, the functions within the memory subsystem may be associated with a clock that is uniquely sourced to the subsystem, or may be based on a clock that is derived from the clock related to the information being transferred to and from the memory subsystem (such as that associated with an encoded clock). Alternately, a unique clock may be used for the information transferred to the memory subsystem, and a separate clock for information sourced from one (or more) of the memory subsystems. The clocks themselves may operate at the same or frequency multiple of the communication or functional frequency, and may be edge-aligned, center-aligned or placed in an alternate timing position relative to the data, command or address information.

Information passing to the memory subsystem(s) will generally be composed of address, command and data, as well as other signals generally associated with requesting or reporting status or error conditions, resetting the memory, completing memory or logic initialization and other functional, configuration or related information. Information passing from the memory subsystem(s) may include any or all of the information passing to the memory subsystem(s), however generally will not include address and command information.

Initialization of the memory subsystem may be completed via one or more methods, based on the available interface busses, the desired initialization speed, available space, cost/complexity objectives, subsystem interconnect structures, the use of alternate processors (such as a service processor) which may be used for this and other purposes, etc. In one embodiment, the high speed bus may be used to complete the initialization of the memory subsystem(s).

Another initialization method might utilize a distinct bus, such as a presence detect bus (such as the one defined in U.S. Pat. No. 5,513,135 to Dell et al., of common assignment herewith), an IIC bus (such as defined in published JEDEC standards such as the 168 Pin DIMM family in publication 21-C revision 7R8) and/or the SMBUS, which has been widely utilized and documented in computer systems using such memory modules. This bus might be connected to one or more modules within a memory system in a point-to-point, multi-drop, daisy chain/cascade interconnect or alternate structure, providing an independent means of interrogating memory subsystems, programming each of the one or more memory subsystems to operate within the overall system environment, and adjusting the operational characteristics at other times during the normal system operation based on performance, thermal, configuration or other changes desired or detected in the system environment.

Other methods for initialization can also be used, in conjunction with or independent of those listed. The use of a separate bus, such as described in the embodiment above, also offers the advantage of providing an independent means for both initialization and uses other than initialization, such as described in U.S. Pat. No. 6,381,685 to Dell et al., of common assignment herewith, including changes to the subsystem operational characteristics on-the-fly and for the reporting of and response to operational subsystem information such as utilization, temperature data, failure information or other purposes.

With improvements in lithography, better process controls, the use of materials with lower resistance, increased field sizes and other semiconductor processing improvements, increased device circuit density (often in conjunction with increased die sizes) will help facilitate increased function on integrated devices as well as the integration of functions previously implemented on separate devices. This integration will serve to improve overall performance of the intended function, as well as promote increased storage density, reduced power, reduced space requirements, lower cost and other manufacturer and customer benefits. This integration is a natural evolutionary process, and may result in the need for structural changes to the fundamental building blocks associated with systems.

The integrity of the communication path, the data storage contents and all functional operations associated with each element of a memory system or subsystem can be assured, to a high degree, with the use of one or more fault detection and/or correction methods described herein. Any or all of the various elements may include error detection and/or correction methods such as CRC (Cyclic Redundancy Code), EDC (Error Detection and Correction), parity or other encoding/decoding methods suited for this purpose. Further reliability enhancements may include operation re-try (to overcome intermittent faults such as those associated with the transfer of information), the use of one or more alternate or replacement communication paths to replace failing paths and/or lines, complement-re-complement techniques or alternate methods used in computer, communication and related systems.

The use of bus termination, on busses as simple as point-to-point links or as complex as multi-drop structures, is becoming more common consistent with increased performance demands. A wide variety of termination methods can be identified and/or considered, and include the use of such devices as resistors, capacitors, inductors or any combination thereof, with these devices connected between the signal line and a power supply voltage or ground, a termination voltage or another signal. The termination device(s) may be part of a passive or active termination structure, and may reside in one or more positions along one or more of the signal lines, and/or as part of the transmitter and/or receiving device(s). The terminator may be selected to match the impedance of the transmission line, or selected via an alternate approach to maximize the useable frequency, operating margins and related attributes within the cost, space, power and other constraints.

As described above, the embodiments of the invention may be embodied in the form of computer-implemented processes and apparatuses for practicing those processes. Embodiments of the invention may also be embodied in the form of computer program code containing instructions embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. The present invention can also be embodied in the form of computer program code, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.

While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc. are used to distinguish one element from another.

This completes the description of the preferred embodiment of the invention. Since changes may be made in the above construction without departing from the scope of the invention described herein, it is intended that all the matter contained in the above description or shown in the accompanying drawings shall be interpreted in an illustrative and not in a limiting sense. Thus other alternatives and modifications will now become apparent to those skilled in the art without departing from the spirit and scope of the invention as set forth in the following claims. 

1. An enhanced four rank enabled buffer device, the buffer device comprising: input ports for receiving input data, the input data including address and command data directed to one or more of up to four ranks of memory devices; one or more buffer circuits for driving one or more of the address and command data; four chip select input lines for selecting between the up to four ranks of memory devices; two chip select output lines for accessing one or two of the up to four ranks of memory devices; and a power savings means for causing one or more of the buffer circuits to be in an inactive mode when the chip select input lines are not active, the one or more of buffer circuits latched to re-drive a same output regardless of input transitions to the one or more of the buffer circuits in the inactive mode, and the one or more of the buffer circuits propagating the input transitions when the chip select input lines are active; said buffer device operable in a first mode to access the up to four ranks of memory devices when coupled to a second enhanced four rank enabled buffer device and said buffer device operable in a second mode to access the one or two of the up to four ranks of memory devices when not coupled to the second buffer device.
 2. The buffer device of claim 1 further comprising error checking logic to identify errors in the input data.
 3. The buffer device of claim 1 further comprising error correction code (ECC) logic to identify and correct errors in the input data, wherein the ECC identifies double bit errors and corrects single bit errors to permit continuous operation of the buffer device independent of the existence of single bit errors.
 4. The buffer device of claim 1 further comprising: a plurality of internal status registers; and a logic block for transmitting contents of the internal status registers to an error bus.
 5. The buffer device of claim 4 wherein contents of the internal status registers includes one or more of operational information, supplier identification, and a supplier die revision identifier.
 6. The buffer device of claim 1 further comprising a parity checking function applied to one or more of the address data and the command data received by the input ports.
 7. The buffer device of claim 1 wherein the buffer device is located on a one or two rank memory module.
 8. The buffer device of claim 1 wherein the buffer device is located on a four rank memory module.
 9. An enhanced four rank enabled buffer device, the buffer device comprising: input ports for receiving input data, the input data including address and command data directed to one or more of up to four ranks of memory devices; one or more buffer circuits for driving one or more of the address and command data; a plurality of chip select input lines for selecting between the up to four ranks of memory devices; a plurality of chip select output lines for accessing the up to four ranks of memory devices; and a power savings means for causing one or more of the buffer circuits to be in an inactive mode when corresponding chip select input lines are not active, the one or more of the buffer circuits latched to re-drive a same output regardless of input transitions to the one or more of the buffer circuits in the inactive mode, and the one or more of the buffer circuits propagating the input transitions when the chip select input lines are active; said buffer device operable to access the up to four ranks of memory devices.
 10. The buffer device of claim 9 further comprising a status register for providing interrogation of the buffer device by a controlling device.
 11. The buffer device of claim 9 further comprising error checking logic to identify errors in the input data.
 12. The buffer device of claim 9 further comprising error correction code (ECC) logic to identify and correct errors in the input data, wherein the ECC identifies double bit errors and corrects single bit errors to permit continuous operation of the buffer device independent of the existence of single bit errors.
 13. The buffer device of claim 9 further comprising: a plurality of internal status registers; and a logic block for transmitting contents of the internal status registers to an error bus.
 14. The buffer device of claim 13 wherein contents of the internal status registers includes one or more of operational information, supplier identification, and a supplier die revision identifier.
 15. The buffer device of claim 9 further comprising a parity checking function applied to one or more of the address data and the command data received by the input ports.
 16. The buffer device of claim 9 wherein the buffer device is located on a one or two rank memory module.
 17. The buffer device of claim 9 wherein the buffer device is located on a four rank memory module.
 18. The buffer device of claim 9 further comprising a phase locked loop.
 19. An enhanced four rank enabled buffer device, the buffer device comprising: input ports for receiving input data, the input data including address and command data directed to one or more of up to four ranks of memory devices; a plurality of buffer circuits for driving one or more of the address and command data, the driving resulting in re-driven inputs; a programmable delay on at least one of the re-driven inputs; four chip select input lines for selecting between the up to four ranks of memory devices; a plurality of chip select output lines for accessing the up to four ranks of memory devices; a status register for providing interrogation of the buffer device by a controlling device and for providing a reset function; and a power savings means for causing one or more of the buffer circuits to be in an inactive mode when corresponding chip select input lines are not active, the one or more of the buffer circuits latched to re-drive a same output regardless of input transitions to the one or more of the buffer circuits in the inactive mode, and the one or more of the buffer circuits propagating the input transitions when the chip select input lines are active; said buffer device operable to access the up to four ranks of memory devices.
 20. The buffer device of claim 19 further comprising error checking logic to identify errors in the input data. 